/* Copyright (c) 2006 celumsolutions. All Rights Reserved. */
package com.swingolf.model;

/**
 * @author rudolf.traunmueller
 * @since 18.09.11
 */
public class Image {

  private Long id;

  private byte[] image;

  public Image(byte[] image) {
    this(-1l, image);
  }

  public Image(Long id, byte[] image) {
    this.id = id;
    this.image = image;
  }

  public Long getId() {
    return id;
  }

  public void setId(Long id) {
    this.id = id;
  }

  public byte[] getImage() {
    return image;
  }

  public void setImage(byte[] image) {
    this.image = image;
  }
}
